package libofei.dao;

import libofei.entity.sysUser.SysUser;
import libofei.entity.user.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserMapper {


	 Long addSysUser(SysUser sysUser);

	 List<SysUser> querySysUserList(SysUser sysUser);

	 SysUser querySysUserById(Long id);

	 Long updateSysUser(SysUser sysUser);

	 Long updateSysUserPass(Long id,String pass);

	 Long updateSysUserStatus(Long id,int status);

	 SysUser querySysUserByUsername(String username);
}
